-- GENERATED SPELL FOR [Morgan the Collector] --


function spell0_473(pUnit, Event) --@Backstab,n/a--
pUnit:FullCastSpellOnTarget(7159,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_473', 649, 1)
end

function spell1_473(pUnit, Event) --@Gouge,n/a--
pUnit:FullCastSpellOnTarget(1776,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_473', 4000, 1)
end

function Sorts_473(pUnit, Event)
local choix_sorts_473 = math.random(0, 1)
if choix_sorts_473 == 0 then
pUnit:RegisterEvent('spell0_473', 1, 1)
end
if choix_sorts_473 == 1 then
pUnit:RegisterEvent('spell1_473', 1, 1)
end
end

function mob473_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_473', math.random(1500, 3000), 1)
end

function mob473_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob473_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob473_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(473, 1, 'mob473_Action')
RegisterUnitEvent(473, 2, 'mob473_Leave')
RegisterUnitEvent(473, 3, 'mob473_Kill')
RegisterUnitEvent(473, 4, 'mob473_Die')
